get Ptime
Getter method of ptime. Ptime is the preferred duration of media represented by a packet that a decoder wants to receive, in milliseconds rounded up to the next full integer value. For Opus, possible values are 3, 5, 10, 20, 40, 60, or an arbitrary multiple of frame size rounded up to the next full integer value, up to a maximum value of 120. If no value is specified, the default is 20. Changing ptime effects all audio codecs. Increasing Ptime will cause less bandwidth usage. (For further information check RFC-7587).
Return
int ptime
Since
4.2.4